home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15219 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.8 KB  |  42 lines

  1. Newsgroups: comp.soft-sys.middleware.opendoc,comp.lang.c++
  2. Path: netcom.com!media
  3. From: media@netcom.com (Max Headroom)
  4. Subject: Question about OpenDoc Class Ref...
  5. Message-ID: <mediaDpB97A.G4s@netcom.com>
  6. Followup-To: poster
  7. Keywords: huh?
  8. Organization: 20 Minutes Into The Future
  9. Date: Wed, 3 Apr 1996 23:57:10 GMT
  10. Sender: media@netcom.netcom.com
  11.  
  12. While strolling through the OpenDoc Class Reference recently (just now...)
  13. I noticed (what at first seemed a typo but later...) an unusual (?) argument
  14. "type"ing (?) for lack of a better word...  For example, in the ODObject 
  15. class, there is a method AcquireExtension which has one argument:
  16. "in ODType extensionName".  The method prototype would be:
  17.  
  18. ODExtension AcquireExtension(in ODType extensionName) ;
  19.  
  20. The "Discussion" portion of the reference states:  "Your part calls this 
  21. method to obtain a reference to an extension object with the specified 
  22. extension type." Well, okay.  That would (to me) be:
  23.  
  24. const ODExtension& AcquireExtension(ODType extensionName) ;
  25.  
  26. What am I missing (alot, I think...)?  What is that "in" type thing at the 
  27. top, anyway? (Note: there are many more methods described in this manner 
  28. throughout the manual, so I doubt that there could be typos...).
  29.  
  30. Thank you for putting up with such a dumb question...
  31.  
  32. -= Max =-
  33.  
  34. -- 
  35. \_         \_       \_\_\_      \_      \_        "Two minds, but with one 
  36.  \_\_     \_\_     \_     \_     \_      \_        single memory!" - Max  
  37.   \_ \_  \_  \_   \_        \_      \_  \_           
  38.    \_   \_    \_   \_\_\_\_\_\_        \_         ========================
  39.     \_         \_   \_        \_      \_ \_       | Max Headroom is:     |
  40.      \_         \_   \_        \_   \_      \_    |  media @ netcom.com  |
  41.       \_         \_   \_        \_   \_      \_   ========================
  42.